home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-06-09 | 2.3 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Jun 9 15:21:26 1993, modified Wed Jun 9 15:21:26 1993, creator Think C, type ASCII, 1663 bytes "iacstring.c" , at 0x6ff 402 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 69 61 63 73 74 72 | 69 6e 67 2e 63 00 00 00 |..iacstr|ing.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 06 7f 00 | 00 01 92 a8 3b e8 b6 a8 |........|....;...|
|00000060| 3b e8 b6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 79 33 00 00 |........|....y3..|
|00000080| 0d 2f 2a a9 20 43 6f 70 | 79 72 69 67 68 74 20 31 |./*. Cop|yright 1|
|00000090| 39 38 38 2d 31 39 39 33 | 20 55 73 65 72 4c 61 6e |988-1993| UserLan|
|000000a0| 64 20 53 6f 66 74 77 61 | 72 65 2c 20 49 6e 63 2e |d Softwa|re, Inc.|
|000000b0| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|000000c0| 65 72 76 65 64 2e 2a 2f | 0d 0d 23 69 6e 63 6c 75 |erved.*/|..#inclu|
|000000d0| 64 65 20 22 69 61 63 69 | 6e 74 65 72 6e 61 6c 2e |de "iaci|nternal.|
|000000e0| 68 22 0d 0d 09 0d 42 6f | 6f 6c 65 61 6e 20 49 41 |h"....Bo|olean IA|
|000000f0| 43 70 75 73 68 73 74 72 | 69 6e 67 70 61 72 61 6d |Cpushstr|ingparam|
|00000100| 20 28 53 74 72 32 35 35 | 20 76 61 6c 2c 20 4f 53 | (Str255| val, OS|
|00000110| 54 79 70 65 20 6b 65 79 | 77 6f 72 64 29 20 7b 0d |Type key|word) {.|
|00000120| 09 09 0d 09 72 65 74 75 | 72 6e 20 28 49 41 43 70 |....retu|rn (IACp|
|00000130| 75 73 68 73 74 72 69 6e | 67 69 74 65 6d 20 28 49 |ushstrin|gitem (I|
|00000140| 41 43 67 6c 6f 62 61 6c | 73 2e 65 76 65 6e 74 2c |ACglobal|s.event,|
|00000150| 20 76 61 6c 2c 20 6b 65 | 79 77 6f 72 64 29 29 3b | val, ke|yword));|
|00000160| 0d 09 7d 20 2f 2a 49 41 | 43 70 75 73 68 73 74 72 |..} /*IA|Cpushstr|
|00000170| 69 6e 67 70 61 72 61 6d | 2a 2f 0d 0d 0d 42 6f 6f |ingparam|*/...Boo|
|00000180| 6c 65 61 6e 20 49 41 43 | 72 65 74 75 72 6e 73 74 |lean IAC|returnst|
|00000190| 72 69 6e 67 20 28 53 74 | 72 32 35 35 20 78 29 20 |ring (St|r255 x) |
|000001a0| 7b 0d 09 0d 09 72 65 74 | 75 72 6e 20 28 49 41 43 |{....ret|urn (IAC|
|000001b0| 70 75 73 68 73 74 72 69 | 6e 67 69 74 65 6d 20 28 |pushstri|ngitem (|
|000001c0| 49 41 43 67 6c 6f 62 61 | 6c 73 2e 72 65 70 6c 79 |IACgloba|ls.reply|
|000001d0| 2c 20 78 2c 20 6b 65 79 | 44 69 72 65 63 74 4f 62 |, x, key|DirectOb|
|000001e0| 6a 65 63 74 29 29 3b 0d | 09 7d 20 2f 2a 49 41 43 |ject));.|.} /*IAC|
|000001f0| 72 65 74 75 72 6e 73 74 | 72 69 6e 67 2a 2f 0d 0d |returnst|ring*/..|
|00000200| 0d 42 6f 6f 6c 65 61 6e | 20 49 41 43 67 65 74 73 |.Boolean| IACgets|
|00000210| 74 72 69 6e 67 70 61 72 | 61 6d 20 28 4f 53 54 79 |tringpar|am (OSTy|
|00000220| 70 65 20 6b 65 79 77 6f | 72 64 2c 20 53 74 72 32 |pe keywo|rd, Str2|
|00000230| 35 35 20 76 61 6c 29 20 | 7b 0d 09 0d 09 69 66 20 |55 val) |{....if |
|00000240| 28 21 49 41 43 67 65 74 | 73 74 72 69 6e 67 69 74 |(!IACget|stringit|
|00000250| 65 6d 20 28 49 41 43 67 | 6c 6f 62 61 6c 73 2e 65 |em (IACg|lobals.e|
|00000260| 76 65 6e 74 2c 20 6b 65 | 79 77 6f 72 64 2c 20 76 |vent, ke|yword, v|
|00000270| 61 6c 29 29 20 7b 0d 0d | 09 09 49 41 43 70 61 72 |al)) {..|..IACpar|
|00000280| 61 6d 65 72 72 6f 72 20 | 28 49 41 43 67 6c 6f 62 |amerror |(IACglob|
|00000290| 61 6c 73 2e 65 72 72 6f | 72 63 6f 64 65 2c 20 22 |als.erro|rcode, "|
|000002a0| 5c 70 73 74 72 69 6e 67 | 22 2c 20 6b 65 79 77 6f |\pstring|", keywo|
|000002b0| 72 64 29 3b 0d 09 09 0d | 09 09 72 65 74 75 72 6e |rd);....|..return|
|000002c0| 20 28 66 61 6c 73 65 29 | 3b 0d 09 09 7d 0d 09 0d | (false)|;...}...|
|000002d0| 09 49 41 43 67 6c 6f 62 | 61 6c 73 2e 6e 65 78 74 |.IACglob|als.next|
|000002e0| 70 61 72 61 6d 6f 70 74 | 69 6f 6e 61 6c 20 3d 20 |paramopt|ional = |
|000002f0| 66 61 6c 73 65 3b 20 2f | 2a 6d 75 73 74 20 62 65 |false; /|*must be|
|00000300| 20 72 65 73 65 74 20 66 | 6f 72 20 65 61 63 68 20 | reset f|or each |
|00000310| 70 61 72 61 6d 2a 2f 0d | 09 0d 09 72 65 74 75 72 |param*/.|...retur|
|00000320| 6e 20 28 74 72 75 65 29 | 3b 0d 09 7d 20 2f 2a 49 |n (true)|;..} /*I|
|00000330| 41 43 67 65 74 73 74 72 | 69 6e 67 70 61 72 61 6d |ACgetstr|ingparam|
|00000340| 2a 2f 0d 0d 0d 42 6f 6f | 6c 65 61 6e 20 49 41 43 |*/...Boo|lean IAC|
|00000350| 67 65 74 73 74 72 69 6e | 67 69 74 65 6d 20 28 41 |getstrin|gitem (A|
|00000360| 45 44 65 73 63 4c 69 73 | 74 20 2a 6c 69 73 74 2c |EDescLis|t *list,|
|00000370| 20 6c 6f 6e 67 20 6e 2c | 20 53 74 72 32 35 35 20 | long n,| Str255 |
|00000380| 76 61 6c 29 20 7b 0d 09 | 0d 09 72 65 67 69 73 74 |val) {..|..regist|
|00000390| 65 72 20 4f 53 45 72 72 | 20 65 63 3b 0d 09 44 65 |er OSErr| ec;..De|
|000003a0| 73 63 54 79 70 65 20 6b | 65 79 3b 0d 09 44 65 73 |scType k|ey;..Des|
|000003b0| 63 54 79 70 65 20 74 79 | 70 65 43 6f 64 65 3b 0d |cType ty|peCode;.|
|000003c0| 09 53 69 7a 65 20 61 63 | 74 75 61 6c 53 69 7a 65 |.Size ac|tualSize|
|000003d0| 3b 0d 09 0d 09 69 66 20 | 28 28 2a 6c 69 73 74 29 |;....if |((*list)|
|000003e0| 2e 64 65 73 63 72 69 70 | 74 6f 72 54 79 70 65 20 |.descrip|torType |
|000003f0| 21 3d 20 74 79 70 65 41 | 45 4c 69 73 74 29 20 7b |!= typeA|EList) {|
|00000400| 0d 09 0d 09 09 65 63 20 | 3d 20 41 45 47 65 74 4b |.....ec |= AEGetK|
|00000410| 65 79 50 74 72 20 28 6c | 69 73 74 2c 20 6e 2c 20 |eyPtr (l|ist, n, |
|00000420| 74 79 70 65 43 68 61 72 | 2c 20 26 74 79 70 65 43 |typeChar|, &typeC|
|00000430| 6f 64 65 2c 20 28 50 74 | 72 29 26 76 61 6c 5b 31 |ode, (Pt|r)&val[1|
|00000440| 5d 2c 20 28 53 69 7a 65 | 29 32 35 35 2c 20 26 61 |], (Size|)255, &a|
|00000450| 63 74 75 61 6c 53 69 7a | 65 29 3b 0d 0d 09 09 69 |ctualSiz|e);....i|
|00000460| 66 20 28 65 63 20 21 3d | 20 65 72 72 41 45 44 65 |f (ec !=| errAEDe|
|00000470| 73 63 4e 6f 74 46 6f 75 | 6e 64 29 0d 09 09 09 67 |scNotFou|nd)....g|
|00000480| 6f 74 6f 20 66 69 6e 69 | 73 68 53 74 72 69 6e 67 |oto fini|shString|
|00000490| 3b 0d 09 09 7d 0d 0d 09 | 65 63 20 3d 20 41 45 47 |;...}...|ec = AEG|
|000004a0| 65 74 4e 74 68 50 74 72 | 20 28 6c 69 73 74 2c 20 |etNthPtr| (list, |
|000004b0| 6e 2c 20 74 79 70 65 43 | 68 61 72 2c 20 26 6b 65 |n, typeC|har, &ke|
|000004c0| 79 2c 20 26 74 79 70 65 | 43 6f 64 65 2c 20 28 50 |y, &type|Code, (P|
|000004d0| 74 72 29 26 76 61 6c 5b | 31 5d 2c 20 28 53 69 7a |tr)&val[|1], (Siz|
|000004e0| 65 29 32 35 35 2c 20 26 | 61 63 74 75 61 6c 53 69 |e)255, &|actualSi|
|000004f0| 7a 65 29 3b 0d 0d 09 66 | 69 6e 69 73 68 53 74 72 |ze);...f|inishStr|
|00000500| 69 6e 67 3a 0d 09 0d 09 | 69 66 20 28 61 63 74 75 |ing:....|if (actu|
|00000510| 61 6c 53 69 7a 65 20 3e | 20 32 35 35 29 0d 09 09 |alSize >| 255)...|
|00000520| 76 61 6c 5b 30 5d 20 3d | 20 32 35 35 3b 0d 09 65 |val[0] =| 255;..e|
|00000530| 6c 73 65 0d 09 09 76 61 | 6c 5b 30 5d 20 3d 20 61 |lse...va|l[0] = a|
|00000540| 63 74 75 61 6c 53 69 7a | 65 3b 0d 09 0d 09 49 41 |ctualSiz|e;....IA|
|00000550| 43 67 6c 6f 62 61 6c 73 | 2e 65 72 72 6f 72 63 6f |Cglobals|.errorco|
|00000560| 64 65 20 3d 20 65 63 3b | 0d 09 0d 09 72 65 74 75 |de = ec;|....retu|
|00000570| 72 6e 20 28 65 63 20 3d | 3d 20 6e 6f 45 72 72 29 |rn (ec =|= noErr)|
|00000580| 3b 0d 09 7d 20 2f 2a 49 | 41 43 67 65 74 73 74 72 |;..} /*I|ACgetstr|
|00000590| 69 6e 67 69 74 65 6d 2a | 2f 0d 0d 0d 42 6f 6f 6c |ingitem*|/...Bool|
|000005a0| 65 61 6e 20 49 41 43 70 | 75 73 68 73 74 72 69 6e |ean IACp|ushstrin|
|000005b0| 67 69 74 65 6d 20 28 41 | 45 44 65 73 63 4c 69 73 |gitem (A|EDescLis|
|000005c0| 74 20 2a 6c 69 73 74 2c | 20 53 74 72 32 35 35 20 |t *list,| Str255 |
|000005d0| 76 61 6c 2c 20 6c 6f 6e | 67 20 6e 29 20 7b 0d 09 |val, lon|g n) {..|
|000005e0| 0d 09 72 65 67 69 73 74 | 65 72 20 4f 53 45 72 72 |..regist|er OSErr|
|000005f0| 20 65 63 3b 0d 09 0d 09 | 69 66 20 28 28 2a 6c 69 | ec;....|if ((*li|
|00000600| 73 74 29 2e 64 65 73 63 | 72 69 70 74 6f 72 54 79 |st).desc|riptorTy|
|00000610| 70 65 20 21 3d 20 74 79 | 70 65 41 45 4c 69 73 74 |pe != ty|peAEList|
|00000620| 29 0d 09 09 65 63 20 3d | 20 41 45 50 75 74 4b 65 |)...ec =| AEPutKe|
|00000630| 79 50 74 72 20 28 6c 69 | 73 74 2c 20 6e 2c 20 74 |yPtr (li|st, n, t|
|00000640| 79 70 65 43 68 61 72 2c | 20 28 50 74 72 29 26 76 |ypeChar,| (Ptr)&v|
|00000650| 61 6c 5b 31 5d 2c 20 28 | 53 69 7a 65 29 76 61 6c |al[1], (|Size)val|
|00000660| 5b 30 5d 29 3b 0d 09 65 | 6c 73 65 0d 09 09 65 63 |[0]);..e|lse...ec|
|00000670| 20 3d 20 41 45 50 75 74 | 50 74 72 20 28 6c 69 73 | = AEPut|Ptr (lis|
|00000680| 74 2c 20 6e 2c 20 74 79 | 70 65 43 68 61 72 2c 20 |t, n, ty|peChar, |
|00000690| 28 50 74 72 29 26 76 61 | 6c 5b 31 5d 2c 20 28 53 |(Ptr)&va|l[1], (S|
|000006a0| 69 7a 65 29 76 61 6c 5b | 30 5d 29 3b 0d 09 0d 09 |ize)val[|0]);....|
|000006b0| 49 41 43 67 6c 6f 62 61 | 6c 73 2e 65 72 72 6f 72 |IACgloba|ls.error|
|000006c0| 63 6f 64 65 20 3d 20 65 | 63 3b 0d 09 0d 09 72 65 |code = e|c;....re|
|000006d0| 74 75 72 6e 20 28 65 63 | 20 3d 3d 20 6e 6f 45 72 |turn (ec| == noEr|
|000006e0| 72 29 3b 0d 09 7d 20 2f | 2a 49 41 43 70 75 73 68 |r);..} /|*IACpush|
|000006f0| 73 74 72 69 6e 67 69 74 | 65 6d 2a 2f 0d 0d 0d 00 |stringit|em*/....|
|00000700| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00000710| 00 00 00 10 00 d7 0d 19 | 00 2b 00 00 00 00 00 00 |........|.+......|
|00000720| 00 00 07 00 00 00 00 11 | 00 18 0c 82 00 04 00 00 |........|........|
|00000730| 0b 69 61 63 73 74 72 69 | 6e 67 2e 63 02 00 00 00 |.iacstri|ng.c....|
|00000740| 50 61 72 74 53 49 54 78 | 00 00 00 00 00 00 00 00 |PartSITx|........|
|00000750| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 81 44 d7 00 00 | 00 00 00 00 01 92 27 63 |....D...|......'c|
|00000780| 00 0b 27 8f 00 2d 07 ff | 00 00 03 68 02 26 29 8c |..'..-..|...h.&).|
|00000790| 00 2d 2d 3a 00 16 2d de | 00 44 07 ff 00 00 03 68 |.--:..-.|.D.....h|
|000007a0| 02 ad 32 d2 00 5a 33 6e | 00 16 34 6d 00 44 07 ff |..2..Z3n|..4m.D..|
|000007b0| 00 00 03 68 03 61 34 f4 | 00 2d 35 23 00 4f 3e 54 |...h.a4.|.-5#.O>T|
|000007c0| 00 45 07 00 00 00 0e cf | 01 2c 1b 27 00 19 00 00 |.E......|.,.'....|
|000007d0| 00 00 00 00 00 00 07 ff | 00 00 2a a6 00 7d 69 ca |........|..*..}i.|
|000007e0| 00 18 6a 2a 00 cd 6b 2d | 00 c1 07 ff 00 00 2a a6 |..j*..k-|......*.|
|000007f0| 02 23 6f 63 00 43 00 00 | 00 00 00 00 00 00 07 00 |.#oc.C..|........|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 06 | 00 04 00 4c 00 10 01 d6 |........|...L....|
|00000830| 02 40 00 4c 00 10 01 d6 | 02 40 a8 21 b9 ed 00 00 |.@.L....|.@.!....|
|00000840| 01 34 00 00 01 34 00 00 | 00 00 01 00 00 00 01 00 |.4...4..|........|
|00000850| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 c5 8a 58 |...L...L|...F...X|
|00000860| 17 e0 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000870| 00 0a 03 ed 00 00 00 00 | 00 00 00 c5 88 fc 13 43 |........|.......C|
|00000880| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00000890| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+